#!/bin/bash

# 设置wxWidgets DLL路径到PATH
WXWIN="/d/vc/wxWidgets-3.2.7"

# 检查是否已经在PATH中
if [[ ":$PATH:" != *":$WXWIN/lib:"* ]]; then
    echo "🔧 添加wxWidgets库路径到PATH环境变量..."
    export PATH="$WXWIN/lib:$PATH"
    echo "✅ PATH已更新"
else
    echo "✅ wxWidgets路径已在PATH中"
fi

echo "🚀 启动AI智能体系统..."
echo "💡 支持参数: --MCPServer --AGI Coder"
echo "===================================="

./modern_ai_chat.exe "$@"
